import Mock from 'mockjs'
import { getUserInfo } from './response/user'
const Random = Mock.Random
Random.extend({
  fruit () {
    const fruit = ['apple', 'orange', 'lemon']
    console.log(this)
    return Random.pick(fruit)
  }
})
Mock.mock('http://host805098507.s396.pppf.com.cn/json.php', 'get', getUserInfo)
export default Mock
